<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>咸鱼云文件下载 - {{$name}}</title>
    <link rel="stylesheet" href="/src/css/base.css">
    <link rel="stylesheet" href="/src/css/icon.css">
    <style>
    a{
        color: #007bFF;
        text-decoration: none;
    }
    #app{
        width: 800px;
        padding:0 110px;
        margin: 0 auto;
    }
    .icon{
        background-repeat: no-repeat;
        background-size: 64px 64px;
    }
    .fileinfo{
        color: darkslategray;
        margin-top: 30px;
    }
    </style>
</head>
<body>
    <div id="app" class="app">
        <div class="fileinfo">
            <div style="width: 64px; height:64px" class="icon file type-{{$type}}"></div>
            <p>文件：{{$name}}</p>
            <p>大小：{{$size}}</p>
        </div>
        <p style="color:rgb(53,53,53);font-size:12px">tips:部分资源点击下载可在线预览（如pdf,mp4,mp3,jpg,png,gif等</p>
        <h3>请选择下载通道：</h3>
        @foreach ($downloads as $key => $value)
            <p><a href="{{$value['url']}}{{$uri}}"><button>{{$value['name']}}</button></a>{{$value['describe']}}</p>
        @endforeach
        <p><a href="<?php echo $full_uri."/.."?>">返回</a></p>

    </div>
</body>
</html>
